package summer_vacation.xuqianlan;

/**
 * Created by lenovo on 2015/9/5.
 */
public class Test_40 {
    public static void main(String[] args) {
        int sum=0;
        int temp=0;
        for(int i=1;i<=99;i=i+2){
            temp=i*(i+1)*(i+2);
            sum+=temp;
        }
        System.out.println("1*2*3+3*4*5+5*6*7....99*100*101="+sum);

    }
}
